package cn.bob.org.domain;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author bob
 * @data 2022/10/2-12:54
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    //用户id
    private Integer userId;
    //用户名
    private String username;
    //别名
    private String alias;
    //创建时间
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss",timezone ="GMT+8")
    private Date createtime;
    //启用状态
    private Integer status;
    //部门id
    private Integer deptId;
    //创建人
    private String createdBy;
    //密码
    private String password;
    //上级部门
    private Dept dept;
}
